//
//  FilterPt_TCell.swift
//  MikerShop
//
//  Created by eme on 2017/1/4.
//  Copyright © 2017年 eme. All rights reserved.
//

/*
 owner:cy
 update:2016年12月15日16:41:41
 */
import UIKit
import Kingfisher
import RxSwift
import RickonCore

class FilterPt_TCell: UITableViewCell {
    //类目
    @IBOutlet weak var ptname_Lb: UILabel!
    ///选中图片
    @IBOutlet weak var state_ImgV: UIImageView!
    
    @IBOutlet weak var separate_Line_V: UIView!
    /// 修改cell的选中状态
    func updateCellState(isSelected:Bool) -> Void {
        if isSelected {
            self.ptname_Lb.textColor = Theme.btn.normal
            self.state_ImgV.isHidden = false
        }else{
            self.ptname_Lb.textColor = UIColor(hex: "262626")
            self.state_ImgV.isHidden = true
        }
    }
    
    override func awakeFromNib() {
        self.state_ImgV.isHidden = true
        self.separate_Line_V.backgroundColor = Theme.v.separate_Line
    }
}

